package tech.wetech.admin3.sys.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import tech.wetech.admin3.sys.model.AooEmailCode;

import java.util.Optional;

public interface EmailRepository extends JpaRepository<AooEmailCode, String> {
    Optional<AooEmailCode> findByEmail(String email);

}
